package cn.stylefeng.guns.modular.school.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.school.entity.ClassSchoolTable;
import cn.stylefeng.guns.modular.school.model.params.ClassSchoolTableParam;
import cn.stylefeng.guns.modular.school.model.result.ClassSchoolTableResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 班级课表 服务类
 * </p>
 *
 * @author 
 * @since 2020-05-02
 */
public interface ClassSchoolTableService extends IService<ClassSchoolTable> {

    /**
     * 新增
     *
     * @author 
     * @Date 2020-05-02
     */
    void add(ClassSchoolTableParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2020-05-02
     */
    void delete(ClassSchoolTableParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2020-05-02
     */
    void update(ClassSchoolTableParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2020-05-02
     */
    ClassSchoolTableResult findBySpec(ClassSchoolTableParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2020-05-02
     */
    List<ClassSchoolTableResult> findListBySpec(ClassSchoolTableParam param);
    List<ClassSchoolTableResult> findListByClassId(ClassSchoolTableParam param);
    Map findStudentSchoolTable(ClassSchoolTableParam param);
    Map findTeacherSchoolTable(ClassSchoolTableParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2020-05-02
     */
     LayuiPageInfo findPageBySpec(ClassSchoolTableParam param);

}
